package com.krain.ddbb.entity;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by ex-kuangxiaomin101 on 2015-12-24.
 */
public class WorkNameBean implements Parcelable {

    private String id;
    private String work_name;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getWork_name() {
        return work_name;
    }

    public void setWork_name(String work_name) {
        this.work_name = work_name;
    }


    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.id);
        dest.writeString(this.work_name);
    }

    public WorkNameBean() {
    }

    protected WorkNameBean(Parcel in) {
        this.id = in.readString();
        this.work_name = in.readString();
    }

    public static final Creator<WorkNameBean> CREATOR = new Creator<WorkNameBean>() {
        public WorkNameBean createFromParcel(Parcel source) {
            return new WorkNameBean(source);
        }

        public WorkNameBean[] newArray(int size) {
            return new WorkNameBean[size];
        }
    };

    @Override
    public String toString() {
        return "WorkNameBean{" +
                "id='" + id + '\'' +
                ", work_name='" + work_name + '\'' +
                '}';
    }
}
